﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ListPage.aspx.cs" Inherits="ajayumi.Test.WebUI.ListPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <div id="list-contain" class="ui-widget">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <%--begin content--%>
                <table id="tbList" class="ui-widget ui-widget-content">
                    <thead>
                        <tr class="ui-widget-header">
                            <th>
                                <input id="chkSelectAll" type="checkbox" onclick="javascript:SelectAll(this);" />
                            </th>
                            <th style="width: 50%">
                                code
                            </th>
                            <th style="width: 50%">
                                name
                            </th>
                        </tr>
                    </thead>
                    <asp:Repeater ID="rpList" runat="server">
                        <ItemTemplate>
                            <tbody>
                                <tr>
                                    <td>
                                        <asp:CheckBox ID="chkSel" runat="server" />
                                    </td>
                                    <td style="text-align: center">
                                        <%# Eval("Code") %>
                                    </td>
                                    <td style="text-align: center">
                                        <%# Eval("Name") %>
                                    </td>
                                </tr>
                            </tbody>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
                <%--end content--%>
                <div class="Pager">
                    <div class="PageDetail">
                        <asp:Label ID="lbPageDetail" runat="server"></asp:Label></div>
                    <br class="ClearFix" />
                    <ul>
                        <li>
                            <asp:LinkButton ID="lbtnFirst" runat="server"></asp:LinkButton></li>
                        <li>
                            <asp:LinkButton ID="lbtnPrev" runat="server"></asp:LinkButton></li>
                        <li>
                            <asp:Label ID="lbDigitPage" runat="server" Text="1 2 3 4 5 ..."></asp:Label></li>
                        <li>
                            <asp:LinkButton ID="lbtnNext" runat="server"></asp:LinkButton></li>
                        <li>
                            <asp:LinkButton ID="lbtnLast" runat="server"></asp:LinkButton></li>
                    </ul>
                </div>
                <asp:Literal ID="lMsg" runat="server"></asp:Literal>
                <div class="hide">
                    <asp:LinkButton ID="lbtnTurnPage" runat="server" Text="lbtnTurnPage"></asp:LinkButton></div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
